<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>order page</title>
		<link rel="stylesheet" href="styles/style.css" type="text/css" />
		<script src="scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
		<script src="scripts/jquery.select.js" type="text/javascript"></script>
		<script src="scripts/tools.js" type="text/javascript"></script>
		<script src="scripts/script.js" type="text/javascript"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				var quantity = getUrlParaValue(location.href,"quantity");

				if(quantity)
				{
					$("#quantity").val(quantity);
					$("#quantity").attr("readonly","true");
					$("#quantity").css("background-color","gray");
				}
				
			});
		</script>
	</head>
	<body>
		<div id="container">
			<div id="header">
				<%@include file="header.jsp" %>
			</div>
			<div id="content">
				<div style="margin-left:35px;">
					<div>
						Location：<a href="index.jsp">Home</a> &gt; <a href="cakes.jsp">Cakes</a> &gt; Order Cakes
					</div>
					<div style="border:solid 1px Gray;padding:40px 100px 40px 100px;">
							<div style="margin-left:80px;">
								Fill your information
								<table>
									<tr>
										<td>address:<input type="text" id="address" class="txtinput" /></td>
										<td><div id="address_tip" class="tip">* address can't be empty</div></td>
									</tr>
									<tr>
										<td>&nbsp;&nbsp;phone:<input type="text" id="phone"  class="txtinput"/></td>
										<td><div id="phone_tip" class="tip">* phone can't be empty</div></td>
									</tr>
									<tr>
										<td>quantity:<input type="text" id="quantity"  class="txtinput"/></td>
										<td><div id="quantity_tip" class="tip">* quantity should be equal to password</div></td>
									</tr>
									<tr>
										<td>&nbsp;remark:<input type="text" id="remark"  class="txtinput"/></td>
										<td><div id="remark_tip" class="tip">* identifier no. is not correct</div></td>
									</tr>
									<tr>
										<td colspan="2"><input type="button" id="order" class=" btn" style="margin-left:50px;margin-top:8px;" value="order" onclick="order();"/></td>
									</tr>
								</table>
							</div>
					</div>
				</div>
				<div id="categorys">
					<%@include file="footer.jsp" %>
				</div>
			</div>
		</div>
	</body>
</html>
	